<template>
    <div class="xtx-bread-item">
            <RouterLink :to='to' v-if="to"><slot/></RouterLink>
            <span v-else><slot/></span>
    </div>

</template>

<script>
export default {
  name: 'XtxBreadItem',
  props: {
    to: {
      type: [String, Object],
      default: ''
    }
  }
}
</script>

<style>

</style>
